﻿using DAL;
using Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
 public   class FundsBLL
    {
        
            public DataTable Select(string TableName)
            {
                return new FundsDAL().Select(TableName);
            }

            public DataTable FY(string tableName, int pageIndex)
            {
                return new FundsDAL().FY(tableName, pageIndex);
            }

            public bool Del(string tableName, int id)
            {
                return new FundsDAL().Del(tableName, id);
            }

            public bool Add(FundsModel model)
            {
                return new FundsDAL().Add(model);
            }

            public bool Gai(FundsModel model, int id)
            {
                return new FundsDAL().Gai(model, id);
            }

         

            public object SelectNo(string tableName, string mz)
            {
                return new FundsDAL().SelectNo(tableName, mz);
            }

             public DataTable A()
             {
                return new FundsDAL().A();
             }
        public bool SGai(int id)
        {
            return new FundsDAL().SGai(id);
        }
        public bool OGai(int id)
        {
            return new FundsDAL().OGai(id);
        }
        public bool OD(int id)
        {
            return new FundsDAL().OD(id);
        }
        public bool SD(int id)
        {
            return new FundsDAL().SD(id);
        }
    }
    }

